<?php
/**
 * Smarty plugin
 * @package Smarty
 * @subpackage plugins
 */


/**
 * Smarty price_format modifier plugin
 *
 * Type:     modifier<br>
 * Name:     price_format<br>
 * @param integer
 * @param mix
 * @return string
 */
require_once 'core/ECLib.php';
function smarty_modifier_price_format_order($price, $currency_id=false)
{
    return Number::priceFormatOrder($price, $currency_id);
}